<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="common/top" />
{/*
<link href="http://5wallpaper-img.a.com/css/style.css" rel="stylesheet" type="text/css" />
*/}
</head>
<body>
<include file="common/header" />
<div class="wrap">
	<div class="lead">You are here: <a href="/">5wallpaper.com</a> &gt; {$position} &gt; <h1> free <?php echo $info['name'];?> wallpaper download</h1></div>
	
	<div class="content m_t15">
		<div class="leftbar">
			<include file="common/left" />
		</div>
		<div class="rightbar">
			{/*<div style="width:728px; height:90px; margin:0 auto; padding:10px 0;"><img src="/images/gg_big.jpg" width="728" height="90" /></div>*/}
			<div class="show_box3 m_t20">
				<div class=" big_pic"><img src="<?php echo $info['img_480_360'];?>" /></div>
				<ul>
					<?php foreach($list_relate as $k=>$v){ ?>
					<li> <a href="<?php echo $v['view_url'];?>"><img src="<?php echo $v['img'];?>" /></a> </li>
					<?php } ?>
					<li style="margin-right:0; width:250px;">
						<input name="callbak" type="button"  class="btn" value="Back to <?php echo $info['name'];?>" onclick="window.location.href='<?php echo $info['cat2_url'];?>'" />
					</li>
					<div class="clear"></div>
				</ul>
				<div class="clear"></div>
				<div class="line"><?php echo $info['name'];?></div>
			</div>
			<h2 class="pop m_t10">Download By Resolution</h2>
			<div class="big_box2">
				<dl>
					<?php foreach($piexls as $k=>$v){ ?>
					<dt><?php echo $k; ?></dt>
					<dd>
						<?php foreach($v as $k2=>$v2){ ?>
						<a href="<?php echo $v2['url']; ?>" target="_black"><?php echo $v2['name']; ?></a>
						<?php } ?>
					</dd>
					<?php } ?>
					<div class="clear"></div>
				</dl>
			</div>
			<div class="box_btm"><span>Views:</span> <?php echo $info['view'];?> <span>Downloads:</span> <?php echo $info['download'];?> <span>Added:</span> <?php echo date('Y-m-d',$info['addtime']);?></div>
			<div class="detail_l">
				{/*<div class="gg4"><img src="/images/gg5.jpg" width="470" height="272" /></div>*/}
				<h2 class="pop">Recommend wallpapers</h2>
				<div class="big_box4" >
					<ul class="list">
						<?php foreach($list_relate2 as $k=>$v){ ?>
						<li>
							<p><a href="<?php echo $v['view_url'];?>"><img src="<?php echo $v['img'];?>" /></a></p>
							<p><a href="<?php echo $v['view_url'];?>"><?php echo $v['name'];?></a></p>
						</li>
						<?php } ?>
						<div class="clear"></div>
					</ul>
					<div class="clear"></div>
				</div>
			</div>
			<div class="detail_r">
				<h2 class="pop">Popular Wallpapers</h2>
				
				<?php foreach($tops as $k=>$v){ $row = array_shift($v['lists']);  ?>
				<div class="box_btm1<?php if($k>0){ echo " m_t10"; } ?>"><a href="<?php echo $v['url'];?>"><?php echo $v['name'];?></a></div>
				<div class="center"><a href="<?php echo $row['cat2_url'];?>"><img src="<?php echo $row['img'];?>" /></a></div>
				<ul class="list3">
					<?php foreach($v['lists'] as $k2=>$v2){ ?>
					<li><a href="<?php echo $v2['view_url'];?>"><?php echo $v2['name'];?></a></li>
					<?php } ?>
				</ul>
				<div class="clear"></div>
				<?php } ?>
				
				
			</div>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
	</div>
</div>

<include file="common/footer" />

</body>
</html>
